﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Serialization;

namespace ASmile.ORM.CodeBuilder.Builder
{
    // 根节点映射
    [XmlRoot("Configs")]
    public class BuilderConfigCollection
    {
        [XmlElement("Config")]
        public List<M_Config> BuilderConfigs { get; set; }
    }

    public class M_Config
    {
        [XmlElement("Caption")]
        public string Caption { set; get; }

        [XmlElement("ConnStr")]
        public string ConnStr { set; get; }

        [XmlElement("DBType")]
        public string DBType { set; get; }

        [XmlElement("NameSpace")]
        public string NameSpace { set; get; }

        [XmlElement("SavePath")]
        public string SavePath { set; get; }
    }
}
